package com.ruoyi.whzj.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户经验变动记录对象 wh_experiencerecord
 * 
 * @author ruoyi
 * @date 2020-10-21
 */
public class WhExperiencerecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 经验变动 */
    @Excel(name = "经验变动")
    private Integer experience;

    /** 用户id */
    @Excel(name = "用户id")
    private String userId;

    /** 用户名称 */
    @Excel(name = "用户名称")
    private String userName;

    /** 操作（1充值2后台调整） */
    @Excel(name = "操作", readConverterExp = "1=充值2后台调整")
    private String operate;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setExperience(Integer experience) 
    {
        this.experience = experience;
    }

    public Integer getExperience() 
    {
        return experience;
    }
    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }
    public void setOperate(String operate) 
    {
        this.operate = operate;
    }

    public String getOperate() 
    {
        return operate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("experience", getExperience())
            .append("userId", getUserId())
            .append("operate", getOperate())
            .append("createTime", getCreateTime())
            .toString();
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }
}
